package org.example.service.impl;

import org.example.dao.UserDao;
import org.example.domain.SysUser;
import org.example.service.UserService;

public class UserServiceImpl implements UserService {

    private UserDao userDao=null;

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    @Override
    public void addUser(SysUser user) {
        userDao.insertUser(user);
    }
}
